package com.example.moblie2021606143cwj0602;

import android.content.Intent;
import android.os.Bundle;
import android.widget.Button;
import android.widget.TextView;

import androidx.appcompat.app.AppCompatActivity;

public class ShowData extends AppCompatActivity {

    private TextView tvShowdataTitle;
    private TextView tvShowdataContent;
    private Button btnShowdataReLogin;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_show_data);
        initView();
        Intent intent =getIntent();
        tvShowdataContent.setText(intent.getStringExtra("userName"));
        Bundle bundle=intent.getExtras();
        tvShowdataContent.setText(bundle.getString("passWord"));
    }

    private void initView() {
        tvShowdataTitle = (TextView) findViewById(R.id.tvShowdataTitle);
        tvShowdataContent = (TextView) findViewById(R.id.tvShowdataContent);
        btnShowdataReLogin = (Button) findViewById(R.id.btnShowdataReLogin);
    }
}